Total Complexity | 29 |
Dependencies | 8 |
Dependents | 1 |
Total lines | 295 |
Lines of code | 120 |
Logical lines of code | 59 |
Comment lines | 140 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_dates_where() | 57 | 5 | 18 | |
get_items() | 53 | 2 | 21 | |
get_checkout_sum_for_product_field() | 67 | 3 | 7 | |
get_items_permissions_check() | 60 | 2 | 13 | |
prepare_checkout_data_for_api_response() | 61 | 2 | 12 | |
register_routes() | 59 | 1 | 15 | |
get_page_param() | 78 | 2 | 3 | |
get_per_page_param() | 78 | 2 | 3 | |
get_date_min_param() | 78 | 2 | 3 | |
get_date_max_param() | 78 | 2 | 3 | |
get_additional_product_fields() | 63 | 2 | 10 | |
__construct() | 81 | 1 | 3 | |
get_currency_code() | 81 | 1 | 3 | |
get_checkout_recovery_url() | 79 | 1 | 3 | |
get_product_image_url() | 80 | 1 | 3 |